package com.im.service.group.model.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(description = "群组成员信息")
public class GroupMemberDto {

    @ApiModelProperty(value = "成员ID", required = true)
    private String memberId;

    @ApiModelProperty(value = "成员别名")
    private String alias;

    @ApiModelProperty(value = "群成员类型，0-普通成员, 1-管理员, 2-群主, 3-已经移除的成员，当修改群成员信息时，只能取值0/1，其他值由其他接口实现，暂不支持3", required = true)
    private Integer role;

    @ApiModelProperty(value = "最后发言时间")
    private Long speakDate;

    @ApiModelProperty(value = "加入方式")
    private String joinType;

    @ApiModelProperty(value = "加入时间")
    private Long joinTime;

}

